So, I'm getting this error when trying to run the app. "Build succeeds" but the app won't run and Xcode spits out an error:Could not install at this time.Failed to load Info.plist from bundle at pathAnd the path points to a 3rd party framework I use, pointing to its Info.plist: Extra info about plist: ACL=<not found>.If I choose "Do Not Embed" in the "Frameworks, Libraries, and Embedded Content" section of Xcode, the app build & runs. But if I choose "Link and Embed" the app, I get this error and the app won't run.Obviously, if I'm shipping the app to the App Store I need to embed the 3rd party framework in the application...Upon further inspection, if I look inside the .framework of the third party library it does not include an Info.plist file. Never had an issue related to this third party framework before. It's the GoogleMobileAds.framework...
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Getting this error when trying to push an update to the Mac App Store. The Apple ID I'm logged in as has the role Admin in App Store connect.
Since iOS 15.7 these crash reports have started appearing:
0 CoreFoundation 0x18043bd1c __exceptionPreprocess + 216 (NSException.m:200)
1 libobjc.A.dylib 0x197c60ee4 objc_exception_throw + 56 (objc-exception.mm:565)
2 CoreFoundation 0x18050c75c -[NSObject(NSObject) doesNotRecognizeSelector:] + 140 (NSObject.m:147)
3 UIKitCore 0x18359320c -[UIResponder doesNotRecognizeSelector:] + 268 (UIResponder.m:685)
4 CoreFoundation 0x1803d561c forwarding + 1472 (NSForwarding.m:3577)
5 CoreFoundation 0x1803d482c _CF_forwarding_prep_0 + 92
6 CoreFoundation 0x1803d22e8 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 20 (CFNotificationCenter.c:652)
7 CoreFoundation 0x1804678e4 ___CFXRegistrationPost_block_invoke + 48 (CFNotificationCenter.c:173)
8 CoreFoundation 0x18043cc04 _CFXRegistrationPost + 416 (CFNotificationCenter.c:199)
9 CoreFoundation 0x1803e7070 _CFXNotificationPost + 708 (CFNotificationCenter.c:1147)
10 Foundation 0x181ad704c -[NSNotificationCenter postNotificationName:object:userInfo:] + 92 (NSNotification.m:560)
11 UIKitCore 0x182a9ac08 -[UIScene _invalidate] + 664 (UIScene.m:942)
12 UIKitCore 0x182c2765c -[UIWindowScene _invalidate] + 160 (UIWindowScene.m:334)
13 UIKitCore 0x182991f34 -[UIApplication workspace:willDestroyScene:withTransitionContext:completion:] + 216 (UIApplication.m:3999)
14 UIKitCore 0x1829291a0 -[UIApplicationSceneClientAgent scene:willInvalidateWithEvent:completion:] + 360 (UIApplicationSceneClientAgent.m:61)
15 FrontBoardServices 0x1915b79d8 -[FBSScene _callOutQueue_agent_willDestroyWithTransitionContext:completion:] + 256 (FBSScene.m:456)
16 FrontBoardServices 0x1915bf810 __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke_2 + 100 (FBSWorkspaceScenesClient.m:622)
17 FrontBoardServices 0x1915a3bdc -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 232 (FBSWorkspace.m:352)
18 FrontBoardServices 0x1915b5470 __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke + 280 (FBSWorkspaceScenesClient.m:621)
19 libdispatch.dylib 0x1800fc094 _dispatch_client_callout + 16 (object.m:560)
20 libdispatch.dylib 0x18009f150 _dispatch_block_invoke_direct$VARIANT$mp + 220 (queue.c:501)
21 FrontBoardServices 0x1915a52ac FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 40 (FBSSerialQueue.m:157)
22 FrontBoardServices 0x1915a47c0 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 176 (FBSSerialQueue.m:181)
23 FrontBoardServices 0x1915a8960 -[FBSSerialQueue _performNextFromRunLoopSource] + 24 (FBSSerialQueue.m:194)
24 CoreFoundation 0x18045c4fc CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 24 (CFRunLoop.c:1972)
Looks like all system code. Anyone else running into these since iOS 15.7?
I'm trying to share a directory on my Mac with a virtual machine I created using the Virtualization framework. The virtual machine is running Fedora. I configure the share like this:
NSError *error = nil;
if ([VZVirtioFileSystemDeviceConfiguration validateTag:tag error:&error])
{
//Tag validates...
VZSharedDirectory *sharedDirectiory = [[VZSharedDirectory alloc]initWithURL:theURL readOnly:NO];
VZSingleDirectoryShare *singleDirectoryShare = [[VZSingleDirectoryShare alloc]initWithDirectory:sharedDirectiory];
VZVirtioFileSystemDeviceConfiguration *shareConfig = [[VZVirtioFileSystemDeviceConfiguration alloc]initWithTag:tag];
shareConfig.share = singleDirectoryShare;
virtualMachineConfiguration.directorySharingDevices = @[shareConfig];
}
The virtual machine starts up without any errors but the shared directory is nowhere to be found. Anyone know where am I'm going wrong?
Thanks in advance.
I tried adding StoreKit testing for an existing macOS app. On first launch, there is no App Store receipt on the main bundle and therefore my app calls exit(173) to get a receipt, and I get an App Store sign in sheet. Then when I sign in, I have a receipt that does not validate. I believe I'm simply getting an App Store receipt in the sandbox environment? I was under the impression that using StoreKit testing would allow me to test iAP in a local environment.
Here is my steps to reproduce:
1) Added the Configuration.storekit file to my project.
2) Set this file as the storekit configuration in the scheme editor.
3) Run the app.
4) Local receipt validation fails, macOS gives me a Mac App Store login prompt, which I can use but then I get a sandboxed App Store receipt on the main bundle. Receipt will not verify against StoreKitTestCertificate.cer.
I'm running Xcode 12.3. I'm on Big Sur. My app's deployment target is 10.11.
Any ideas? Thanks
I wasn't able to find an answer to this question via search but I was wondering if it is possible to virtualize an Intel Mac using the Virtualization framework on macOS?
I have an M1 MacBook Pro and I want to virtualize macOS as if it is running on a Mac with an Intel processor.
Showing a popover from a status bar item. Sometimes results in this being logged out:Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored.Please fix this problem.When this happens, the popover appears at 0.0,0.0 (lower left) of the screen for a second... before snapping to the proper position.Code: NSStatusBarButton *statusButton = _statusItem.button;
[_popover showRelativeToRect:statusButton.bounds ofView:statusButton preferredEdge:NSMinYEdge];The user can add or remove the status item in this app...the issue I notice usually happens the second time the popover gets presented. Looks like the popover can be trying to present before the status item button's position is set?
I just upgraded to iOS 17 and it looks like AVSpeechSynthesizer is now broken.
I noticed when feeding certain strings to AVSpeechUtterance it just dies flat out stops after only speaking a portion of the string.
For example I fed it a string of approx. 1200 words and it speaks up to around 300 words or so and then just stops. The synthesizer delegate method -speechSynthesizer:didFinishSpeechUtterance: is called when this happens, as if this is supposed to be the end even though it is not even close to being finishes.
Was working fine on iOS 16.
FWIW I create the AVSpeechUtterance with -initWithString:
In NSFileManager there is this method to move files to and from iCloud:- (BOOL)setUbiquitous:(BOOL)flag itemAtURL:(NSURL *)url destinationURL:(NSURL *)destinationURL error:(NSError **)errorOutAll the samples and information I'm able to find seem to be related to using NSDocument, which my app isn't using. I have a little view in my app that allows users to move an image out from the iCloud container and into a local directory. It seems that simply using NSFileManager moveItemAtURL:toURL:error: works fine both to move a file in and out of the iCloud container on OS X without wrapping everything in a file coordinator block. Is it still necessary to use a file coordinator to move files out of iCloud on the Mac. When I put a file in the iCloud container, the system automatically starts uploading it..even though I'm not using a file coordinator...and my related file presenter still is detecting a change.Both methods seem to be working the same, I'm just wondering if I should be using a coordinator because it's a good amount of code I can get rid of if it's not necessary.Thanks.
I got this email from an app update I submitted yesterday....:To process your delivery, the following issues must be corrected:Invalid Signature - This error occurs when you have signed your app's installer incorrectly. There are two certs required for this process: the "3rd Party Mac Developer Application" cert and the "3rd Party Mac Developer Installer" cert. When signing your package, you need to ensure that you are using the Installer cert to sign your package. Ensure that you are specifying this cert when submitting your app via the Xcode Organizer or when running productbuild from the command line.Once these issues have been corrected, you can then redeliver the corrected binary.Regards,________________The App Store teamWhen I validate the app in organizer for MAS distribution, it passes validation. Also, when I manually switch it to "Installer" in Xcode and try to rearchive the project, I get an error about no provisioning profiles matching the identity. For provisioning profiles, I have it "Automatic". I did try to configure provisioning profiles manually for these app Identifiers in the Member Center, which only has it matching the developer application certicate. Why would the Memeber Center have a provisioning profile not match the installer certificate, if that is the one to be used?BTW, code signing just started acting bonkers on me recently, as it seems to do every now and again, though i haven't made any changes to my certificates nor configurations.
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
Signing Certificates
Provisioning Profiles
Looks like I'm having a bad morning. I'm on 10.11.6 and Xcode 7.3.1.Xcode keeps crashing. When I re-launch Xcode, it restores the window of my open project and crashes again. I rebooted my machine and was able to start working again for about 5 minutes and now it is doing it again.When relaunching I get:Xcode quit unexpectedly while using the dsc_extractor.bundle plug-in.I sent probably 10-15 crash reports to Apple.
Where's the link for the "Guides and Sample Code" page (located here: https://developer.apple.com/library/content/navigation/I kow the URL because I know it, but why isn't there a link to it on the main developer page (since release notes and other important tidbits get published there)? Why's it so hard to find?Or is it right in front of my face and I'm not seeing it?
After updating my app, I'm now getting crashes when the app is brought to the foreground. On initial launch all appears to be fine. But when I background/foreground the app I get this:
Window container should not be nil.
Unfortunately this is only happening on production release and I cannot reproduce the issue in the debug environment.
I updated GoogleMobileAds to the latest version. I think the framework may be responsible. Curious to know if anyone else has experienced this and knows what could possible be the cause.
Trying to use UISplitViewController. Since this app can be run on many different monitor sizes I want to allow the splits to be resized reasonably. There is this API:
//Allow setting the primary column width with point values. This is especially useful in Catalyst where the window may be resized more often.
// If set to non-Automatic, takes precedence over preferredPrimaryColumnWidthFraction.
@property(nonatomic, assign) CGFloat preferredPrimaryColumnWidth API_AVAILABLE(ios(14.0)); // default: UISplitViewControllerAutomaticDimension
> > @property(nonatomic, assign) CGFloat minimumSupplementaryColumnWidth API_AVAILABLE(ios(14.0));
@property(nonatomic, assign) CGFloat maximumSupplementaryColumnWidth API_AVAILABLE(ios(14.0));
// An animatable property that can be used to adjust the minimum absolute width of the primary view controller in the split view controller.
@property(nonatomic, assign) CGFloat minimumPrimaryColumnWidth API_AVAILABLE(ios(8.0)); // default: UISplitViewControllerAutomaticDimension
// An animatable property that can be used to adjust the maximum absolute width of the primary view controller in the split view controller.
@property(nonatomic, assign) CGFloat maximumPrimaryColumnWidth API_AVAILABLE(ios(8.0)); // default:
At what point in time should I be changing the preferredPrimaryColumnWidth, the min/and max width values? What event? If I was in Appkit I could maybe use something like NSWindowDidResizeNotification, then compute min/max sizes for each column based off the current window size (but I think NSSplitView gives the delegate an opportunity to control constraining column sizes if I remember correctly so I don't think that it would necessary to listen for a window resize event).
I find the default sizes set by UISplitViewController to be insufficient (I want to allow users to size columns wider). Ideally this would be easier if there was minimumPrimaryColumnFraction and maxPrimaryColumnFraction. Then I just set the min/max fractions once to reasonable values and not worry about changing them on window resize. But since we can only set min/max with a hardcoded point size it seems more complicated?
I'm starting to see the behavior described here:
https://stackoverflow.com/questions/74491422/uitableview-createpreparedcellforglobalrowwithindexpathwilldisplay-1256
Starting on iOS 16.2 for me (though the creator of the Stackoverflow thread started seeing in in 16.1.1.
Anyone else experiencing this?